@echo off

taskkill /F /IM nw.exe > nul 2>nul
rem echo Stopping MySQL... 
taskkill /F /IM httpd.exe > nul 2>nul

REM Windows 下无效
REM set PHP_FCGI_CHILDREN=5

REM 每个进程处理的最大请求数，或设置为 Windows 环境变量
set PHP_FCGI_MAX_REQUESTS=1000

rem echo Starting nginx...
start /b apache\bin\httpd.exe

nwjs\nw.exe
